package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;

/**
 * 封装用户添加角色的信息
 */
@ApiModel(description = "封装用户添加角色的信息")
@Data
public class UserAddRole {
    //用户id
    @ApiModelProperty(value = "用户id", position = 1)
    private Long userId;

    //角色id
    @ApiModelProperty(value = "角色id", position = 2)
    ArrayList<Long> roleIds;


}
